package com.kingtao.util;

/**
 * @Author: kingtao
 * @Date: 2023-07-24-15:09
 * @Description: 各种参数对应的数据值
 */
public class CoreData {
    //  节点数目
    public final static int NODE_NUM = 10;
    //  server最初的 port
    public final static int NODE_INIT_PORT = 10000;
    //  server最初的 address
    public final static String NODE_ADDRESS = "127.0.0.1";

    //  初始化信誉值
    public final static double CREDIT_INIT = 3;
    //  最大信誉值
    public final static double CREDIT_MAX = 10;
    //  奖励因子
    public final static double a = 0.001;
    //  惩罚因子
    public final static double b = 1;

    //  最小分组条件
    public final static int GROUP_NODE_MIN_NUM = 10;
    //  分组数目
    public final static int GROUP_NUM = 3;
}
